Skip to content

Comments

eat(treasury): implement leaderboard pool distribution with admin con…#61

Open
soma-enyi wants to merge 2 commits intoNetwalls:mainfrom
soma-enyi:soma-box
Open

eat(treasury): implement leaderboard pool distribution with admin con…#61
soma-enyi wants to merge 2 commits intoNetwalls:mainfrom
soma-enyi:soma-box

Conversation

@soma-enyi
Copy link

closed #17

Leaderboard Pool Distribution

Implemented distribute_leaderboard_rewards() function in treasury contract to distribute accumulated fees to top performers.

Key Features:

  • Admin-only access control
  • Percentage-based distribution (shares must sum to 100%)
  • Validates pool has funds before distribution
  • Emits LeaderboardDistributed event
  • Comprehensive test coverage

@GoSTEAN
Copy link
Contributor

GoSTEAN commented Jan 31, 2026

@soma-enyi fix ci

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Contract: Treasury.distribute_leaderboard() tier 5

2 participants